package com.yanh.transaction.convert;

import com.yanh.transaction.domain.PlatformChannel;
import com.yanh.transaction.vo.PlatformChannelVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface PlatformChannelConvert {

    PlatformChannelConvert INSTANCE = Mappers.getMapper(PlatformChannelConvert.class);

    PlatformChannelVo entity2dto(PlatformChannel entity);

    PlatformChannel dto2entity(PlatformChannelVo dto);

    List<PlatformChannelVo> listentity2listdto(List<PlatformChannel> PlatformChannel);
}
